package ch05.shangJi.sj1;

/**
 * 对话
 */
public class Dialogue {
    //定义路飞对话属性
    private String luFei;
    //定义诸葛亮对话属性
    private String zhuGL;

    public String getLuFei() {
        return luFei;
    }

    public void setLuFei(String luFei) {
        this.luFei = luFei;
    }

    public String getZhuGL() {
        return zhuGL;
    }

    public void setZhuGL(String zhuGL) {
        this.zhuGL = zhuGL;
    }

    public void show1(){
        System.out.println("路飞："+getLuFei());
    }

    public void show2(){
        System.out.println("诸葛亮："+getZhuGL());
    }
}
